package com.guodi.map.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guodi.map.entity.MapMaterialType;
import com.guodi.map.mapper.MapMaterialTypeMapper;
import com.guodi.map.service.IMapMaterialTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @描述：
 * @作者: 戴伙进
 * @日期: 2020/6/3 9:28
 */
@Service
public class MapMaterialTypeServiceImpl extends ServiceImpl<MapMaterialTypeMapper, MapMaterialType> implements IMapMaterialTypeService {

    @Resource
    private MapMaterialTypeMapper mapMaterialTypeMapper;

    @Override
    public void deleteById(String id) {
        mapMaterialTypeMapper.deleteById(id);
    }

    @Override
    public Integer selectMaxSort() {
       return mapMaterialTypeMapper.selectMaxSort();
    }
}
